using System.Collections;
using System.Collections.Generic;
using Unity.VisualScripting;
using UnityEngine;
using UnityEngine.UIElements;

public class DataPanel : VisualElement
{
  public new class  UxmlFactory:UxmlFactory<DataPanel>{}

  [SerializeField]
  [Inspectable]
  public string a;
  
  [SerializeField]
  [Inspectable] // 使属性在Inspector中可见和可编辑
  private string _myProperty;
 
  public string MyProperty
  {
      get => _myProperty;
      set => _myProperty = value;
  }

  public BindableElement bind;
  public DataPanel()
  {
      Debug.Log("111111111");
  }
}
